<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>${config.appName}国际班报名</title>
<link rel="stylesheet" href="<%=basePath %>/style/weuix.min.css"/>
<script src="<%=basePath %>/js/zepto.min.js"></script>
<script>
	var basePath = "<%=basePath%>";
</script>
<script src="<%=basePath %>/js/signUp/student.js"></script>
<body ontouchstart style="background-color: #fff;">
	<div class="weui_tab tab-bottom">
		<div class="weui_tab_bd">
			<div>
				<img style="width:100%;" src="<%=basePath %>/images/guojiban@3x.png">
			</div>
			<form name="formBaomingForm" id="formBaomingForm" action="submit" method="post">
				<div class="weui_cells weui_cells_form" style="margin-top:-8px;">
			   	   <input type="hidden" name="signUpType" value="${signUpType }"/>
			   	   <input type="hidden" name="id"/>
			       <div class="weui_cell" style="padding-top:15px;">
			          <div class="weui_cell_hd"><label class="weui_label">学生姓名</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="studentName" placeholder="请输入学生姓名">
			          </div>
			       </div>
			       
			       <div class="weui_cell weui_cell_select weui_select_after">
			          <div class="weui_cell_hd"><label class="weui_label">学生性别</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <select class="weui_select" name="studentSex">
			              	  <option value="">请选择</option>
			                  <option value="男孩">男孩</option>
			                  <option value="女孩">女孩</option>
			              </select>
			          </div>
			      </div>
			      
			      <div class="weui_cell">
				      <div class="weui_cell_hd"><label class="weui_label">身高(厘米)</label></div>
				      <div class="weui_cell_bd weui_cell_primary">
				          <input class="weui_input" name="studentHeight" type="number" pattern="[0-9]*" placeholder="请输入小孩身高">
				      </div>
				  </div>
				  
				  <div class="weui_cell">
			          <div class="weui_cell_hd"><label for="" class="weui_label">出生日期</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" id="studentBirthday" name="studentBirthday" type="date" value="">
			          </div>
			      </div>
			      <div class="weui_cell">
			      	  <div class="weui_cell_hd"><label for="" class="weui_label">身份证号或港澳证件号</label></div>
					  <div class="weui_cell_bd weui_cell_primary">
						 <input class="weui_input" type="text" name="studentIdNo" placeholder="请输入学生身份证号或港澳证件号" />
					  </div>
				  </div>
				  <div class="weui_cell">
					  <div class="weui_cell_hd"><label for="" class="weui_label">报读年级</label></div>
					  <div class="weui_cell_bd weui_cell_primary">
			              <select class="weui_select" name="signGrade">
			                  <option value="">请选择</option>
			                  <option value='2017学年9月一年级新生国际班'>2017学年9月一年级新生国际班</option>
			              </select>
			          </div>
				  </div>
				  <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">原就读学校(幼儿园)</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="baseSchool" placeholder="需注明市区镇">
			          </div>
			       </div>
			       <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">家庭详细住址</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="familyAddr" placeholder="请输入家庭详细住址">
			          </div>
			       </div>
			       <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">户籍详细地址</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="houseAddr" placeholder="请输入户籍详细地址">
			          </div>
			       </div>
			       <div class="weui_cell">
					  <div class="weui_cell_hd"><label for="" class="weui_label">户口性质</label></div>
					  <div class="weui_cell_bd weui_cell_primary">
			              <select class="weui_select" name="houseType">
			                  <option value="">请选择</option>
			                  <option value="农业">农业</option>
			         		  <option value="非农业">非农业</option>
			              </select>
			          </div>
				  </div>
				  <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">民族</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="nation" placeholder="请输入民族">
			          </div>
			      </div>
			      <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">父亲姓名</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="fatherName" placeholder="请输入父亲姓名">
			          </div>
			      </div>
			      <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">父亲电话</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="fatherPhone" placeholder="请输入父亲电话">
			          </div>
			      </div>
			      <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">父亲单位</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="fatherCompany" placeholder="请输入父亲单位">
			          </div>
			      </div>
			      <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">母亲姓名</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="motherName" placeholder="请输入母亲姓名">
			          </div>
			      </div>
			      <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">母亲电话</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="motherPhone" placeholder="请输入母亲电话">
			          </div>
			      </div>
			      <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">母亲单位</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="motherCompany" placeholder="请输入母亲单位">
			          </div>
			      </div>
			      <div class="weui_cell">
			          <div class="weui_cell_hd"><label class="weui_label">推荐人</label></div>
			          <div class="weui_cell_bd weui_cell_primary">
			              <input class="weui_input" type="text" name="recommender" placeholder="请输入推荐人">
			          </div>
			      </div>
				  <div class="weui_cells_title">荣获奖项</div>
				  <div class="weui_cell">
			          <div class="weui_cell_bd weui_cell_primary">
			              <textarea id="textarea" class="weui_textarea" name="awards" placeholder="请详细描述小孩获奖奖项" rows="3"></textarea>
			          </div>
			      </div>
			      <div class="weui_cells_title">兴趣爱好</div>
				  <div class="weui_cell">
			          <div class="weui_cell_bd weui_cell_primary">
			              <textarea id="textarea" class="weui_textarea" name="hobby" placeholder="请详细描述孩子兴趣爱好" rows="3"></textarea>
			          </div>
			      </div>
			      
			      <div class="weui_btn_area">
			        <a id="formSubmitBtn" href="javascript:formBaomingTj()" class="weui_btn weui_btn_primary">提交报名</a>
			      </div>
		  	 </div>
		  </form>
		  <div class="weui_tabbar hide" style="padding: 5px;">
				<div class="weui_cells_tips">
					<span style="color:red" id="result"></span>请再次核查信息，如果有误请点击【<a href="javascript:baomingUpdate()">修改</a>】
				</div>
		  </div>
		</div>
	</div>		
</body>
<script>
	$("#studentBirthday").datetimePicker({title:"选择日期",m:1});
</script>
</html>